package org.dolphin.base.json;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class PaginationBean implements Serializable {
  private static final long serialVersionUID = 3576576573737771314L;
  private Integer page;
  private Integer total;
  private Long records;
  private List<? extends Serializable> rows;
  private Map<String, Serializable> userdata = new HashMap<String, Serializable>(1);

  public Integer getPage() {
    return page;
  }

  public Long getRecords() {
    return records;
  }

  public List<? extends Serializable> getRows() {
    return rows;
  }

  public Integer getTotal() {
    return total;
  }

  public Map<String, Serializable> getUserdata() {
    return userdata;
  }

  public void setPage(Integer page) {
    this.page = page;
  }

  public void setRecords(Long records) {
    this.records = records;
  }

  public void setRows(List<? extends Serializable> rows) {
    this.rows = rows;
  }

  public void setTotal(Integer total) {
    this.total = total;
  }

  public void setUserdata(Map<String, Serializable> userdata) {
    this.userdata = userdata;
  }
}
